(0) Obligation:

Runtime Complexity TRS:
The TRS R consists of the following rules:

0(#) → #
+(#, x) → x
+(x, #) → x
+(0(x), 0(y)) → 0(+(x, y))
+(0(x), 1(y)) → 1(+(x, y))
+(1(x), 0(y)) → 1(+(x, y))
+(0(x), j(y)) → j(+(x, y))
+(j(x), 0(y)) → j(+(x, y))
+(1(x), 1(y)) → j(+(+(x, y), 1(#)))
+(j(x), j(y)) → 1(+(+(x, y), j(#)))
+(1(x), j(y)) → 0(+(x, y))
+(j(x), 1(y)) → 0(+(x, y))
+(+(x, y), z) → +(x, +(y, z))
opp(#) → #
opp(0(x)) → 0(opp(x))
opp(1(x)) → j(opp(x))
opp(j(x)) → 1(opp(x))
-(x, y) → +(x, opp(y))
*(#, x) → #
*(0(x), y) → 0(*(x, y))
*(1(x), y) → +(0(*(x, y)), y)
*(j(x), y) → -(0(*(x, y)), y)
*(*(x, y), z) → *(x, *(y, z))

Rewrite Strategy: INNERMOST

(1) RenamingProof (EQUIVALENT transformation)

Renamed function symbols to avoid clashes with predefined symbol.

(2) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

0(#) → #
+'(#, x) → x
+'(x, #) → x
+'(0(x), 0(y)) → 0(+'(x, y))
+'(0(x), 1(y)) → 1(+'(x, y))
+'(1(x), 0(y)) → 1(+'(x, y))
+'(0(x), j(y)) → j(+'(x, y))
+'(j(x), 0(y)) → j(+'(x, y))
+'(1(x), 1(y)) → j(+'(+'(x, y), 1(#)))
+'(j(x), j(y)) → 1(+'(+'(x, y), j(#)))
+'(1(x), j(y)) → 0(+'(x, y))
+'(j(x), 1(y)) → 0(+'(x, y))
+'(+'(x, y), z) → +'(x, +'(y, z))
opp(#) → #
opp(0(x)) → 0(opp(x))
opp(1(x)) → j(opp(x))
opp(j(x)) → 1(opp(x))
-(x, y) → +'(x, opp(y))
*'(#, x) → #
*'(0(x), y) → 0(*'(x, y))
*'(1(x), y) → +'(0(*'(x, y)), y)
*'(j(x), y) → -(0(*'(x, y)), y)
*'(*'(x, y), z) → *'(x, *'(y, z))

S is empty.
Rewrite Strategy: INNERMOST

(3) TypeInferenceProof (BOTH BOUNDS(ID, ID) transformation)

Infered types.

(4) Obligation:

Innermost TRS:
Rules:
0(#) → #
+'(#, x) → x
+'(x, #) → x
+'(0(x), 0(y)) → 0(+'(x, y))
+'(0(x), 1(y)) → 1(+'(x, y))
+'(1(x), 0(y)) → 1(+'(x, y))
+'(0(x), j(y)) → j(+'(x, y))
+'(j(x), 0(y)) → j(+'(x, y))
+'(1(x), 1(y)) → j(+'(+'(x, y), 1(#)))
+'(j(x), j(y)) → 1(+'(+'(x, y), j(#)))
+'(1(x), j(y)) → 0(+'(x, y))
+'(j(x), 1(y)) → 0(+'(x, y))
+'(+'(x, y), z) → +'(x, +'(y, z))
opp(#) → #
opp(0(x)) → 0(opp(x))
opp(1(x)) → j(opp(x))
opp(j(x)) → 1(opp(x))
-(x, y) → +'(x, opp(y))
*'(#, x) → #
*'(0(x), y) → 0(*'(x, y))
*'(1(x), y) → +'(0(*'(x, y)), y)
*'(j(x), y) → -(0(*'(x, y)), y)
*'(*'(x, y), z) → *'(x, *'(y, z))

Types:
0 :: #:1:j → #:1:j
# :: #:1:j
+' :: #:1:j → #:1:j → #:1:j
1 :: #:1:j → #:1:j
j :: #:1:j → #:1:j
opp :: #:1:j → #:1:j
- :: #:1:j → #:1:j → #:1:j
*' :: #:1:j → #:1:j → #:1:j
hole_#:1:j1_2 :: #:1:j
gen_#:1:j2_2 :: Nat → #:1:j

(5) OrderProof (LOWER BOUND(ID) transformation)

Heuristically decided to analyse the following defined symbols:
+', opp, *'

They will be analysed ascendingly in the following order:
+' < *'

(6) Obligation:

Innermost TRS:
Rules:
0(#) → #
+'(#, x) → x
+'(x, #) → x
+'(0(x), 0(y)) → 0(+'(x, y))
+'(0(x), 1(y)) → 1(+'(x, y))
+'(1(x), 0(y)) → 1(+'(x, y))
+'(0(x), j(y)) → j(+'(x, y))
+'(j(x), 0(y)) → j(+'(x, y))
+'(1(x), 1(y)) → j(+'(+'(x, y), 1(#)))
+'(j(x), j(y)) → 1(+'(+'(x, y), j(#)))
+'(1(x), j(y)) → 0(+'(x, y))
+'(j(x), 1(y)) → 0(+'(x, y))
+'(+'(x, y), z) → +'(x, +'(y, z))
opp(#) → #
opp(0(x)) → 0(opp(x))
opp(1(x)) → j(opp(x))
opp(j(x)) → 1(opp(x))
-(x, y) → +'(x, opp(y))
*'(#, x) → #
*'(0(x), y) → 0(*'(x, y))
*'(1(x), y) → +'(0(*'(x, y)), y)
*'(j(x), y) → -(0(*'(x, y)), y)
*'(*'(x, y), z) → *'(x, *'(y, z))

Types:
0 :: #:1:j → #:1:j
# :: #:1:j
+' :: #:1:j → #:1:j → #:1:j
1 :: #:1:j → #:1:j
j :: #:1:j → #:1:j
opp :: #:1:j → #:1:j
- :: #:1:j → #:1:j → #:1:j
*' :: #:1:j → #:1:j → #:1:j
hole_#:1:j1_2 :: #:1:j
gen_#:1:j2_2 :: Nat → #:1:j

Generator Equations:
gen_#:1:j2_2(0) ⇔ #
gen_#:1:j2_2(+(x, 1)) ⇔ 1(gen_#:1:j2_2(x))

The following defined symbols remain to be analysed:
+', opp, *'

They will be analysed ascendingly in the following order:
+' < *'

(7) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))) → *3_2, rt ∈ Ω(n42)

Induction Base:
+'(gen_#:1:j2_2(+(1, 0)), gen_#:1:j2_2(+(1, 0)))

Induction Step:
+'(gen_#:1:j2_2(+(1, +(n4_2, 1))), gen_#:1:j2_2(+(1, +(n4_2, 1)))) →RΩ(1)
j(+'(+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))), 1(#))) →IH
j(+'(*3_2, 1(#)))

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(8) Complex Obligation (BEST)

(9) Obligation:

Innermost TRS:
Rules:
0(#) → #
+'(#, x) → x
+'(x, #) → x
+'(0(x), 0(y)) → 0(+'(x, y))
+'(0(x), 1(y)) → 1(+'(x, y))
+'(1(x), 0(y)) → 1(+'(x, y))
+'(0(x), j(y)) → j(+'(x, y))
+'(j(x), 0(y)) → j(+'(x, y))
+'(1(x), 1(y)) → j(+'(+'(x, y), 1(#)))
+'(j(x), j(y)) → 1(+'(+'(x, y), j(#)))
+'(1(x), j(y)) → 0(+'(x, y))
+'(j(x), 1(y)) → 0(+'(x, y))
+'(+'(x, y), z) → +'(x, +'(y, z))
opp(#) → #
opp(0(x)) → 0(opp(x))
opp(1(x)) → j(opp(x))
opp(j(x)) → 1(opp(x))
-(x, y) → +'(x, opp(y))
*'(#, x) → #
*'(0(x), y) → 0(*'(x, y))
*'(1(x), y) → +'(0(*'(x, y)), y)
*'(j(x), y) → -(0(*'(x, y)), y)
*'(*'(x, y), z) → *'(x, *'(y, z))

Types:
0 :: #:1:j → #:1:j
# :: #:1:j
+' :: #:1:j → #:1:j → #:1:j
1 :: #:1:j → #:1:j
j :: #:1:j → #:1:j
opp :: #:1:j → #:1:j
- :: #:1:j → #:1:j → #:1:j
*' :: #:1:j → #:1:j → #:1:j
hole_#:1:j1_2 :: #:1:j
gen_#:1:j2_2 :: Nat → #:1:j

Lemmas:
+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))) → *3_2, rt ∈ Ω(n42)

Generator Equations:
gen_#:1:j2_2(0) ⇔ #
gen_#:1:j2_2(+(x, 1)) ⇔ 1(gen_#:1:j2_2(x))

The following defined symbols remain to be analysed:
opp, *'

(10) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
opp(gen_#:1:j2_2(+(1, n6451178_2))) → *3_2, rt ∈ Ω(n64511782)

Induction Base:
opp(gen_#:1:j2_2(+(1, 0)))

Induction Step:
opp(gen_#:1:j2_2(+(1, +(n6451178_2, 1)))) →RΩ(1)
j(opp(gen_#:1:j2_2(+(1, n6451178_2)))) →IH
j(*3_2)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(11) Complex Obligation (BEST)

(12) Obligation:

Innermost TRS:
Rules:
0(#) → #
+'(#, x) → x
+'(x, #) → x
+'(0(x), 0(y)) → 0(+'(x, y))
+'(0(x), 1(y)) → 1(+'(x, y))
+'(1(x), 0(y)) → 1(+'(x, y))
+'(0(x), j(y)) → j(+'(x, y))
+'(j(x), 0(y)) → j(+'(x, y))
+'(1(x), 1(y)) → j(+'(+'(x, y), 1(#)))
+'(j(x), j(y)) → 1(+'(+'(x, y), j(#)))
+'(1(x), j(y)) → 0(+'(x, y))
+'(j(x), 1(y)) → 0(+'(x, y))
+'(+'(x, y), z) → +'(x, +'(y, z))
opp(#) → #
opp(0(x)) → 0(opp(x))
opp(1(x)) → j(opp(x))
opp(j(x)) → 1(opp(x))
-(x, y) → +'(x, opp(y))
*'(#, x) → #
*'(0(x), y) → 0(*'(x, y))
*'(1(x), y) → +'(0(*'(x, y)), y)
*'(j(x), y) → -(0(*'(x, y)), y)
*'(*'(x, y), z) → *'(x, *'(y, z))

Types:
0 :: #:1:j → #:1:j
# :: #:1:j
+' :: #:1:j → #:1:j → #:1:j
1 :: #:1:j → #:1:j
j :: #:1:j → #:1:j
opp :: #:1:j → #:1:j
- :: #:1:j → #:1:j → #:1:j
*' :: #:1:j → #:1:j → #:1:j
hole_#:1:j1_2 :: #:1:j
gen_#:1:j2_2 :: Nat → #:1:j

Lemmas:
+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))) → *3_2, rt ∈ Ω(n42)
opp(gen_#:1:j2_2(+(1, n6451178_2))) → *3_2, rt ∈ Ω(n64511782)

Generator Equations:
gen_#:1:j2_2(0) ⇔ #
gen_#:1:j2_2(+(x, 1)) ⇔ 1(gen_#:1:j2_2(x))

The following defined symbols remain to be analysed:
*'

(13) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
*'(gen_#:1:j2_2(n6454382_2), gen_#:1:j2_2(0)) → gen_#:1:j2_2(0), rt ∈ Ω(1 + n64543822)

Induction Base:
*'(gen_#:1:j2_2(0), gen_#:1:j2_2(0)) →RΩ(1)
#

Induction Step:
*'(gen_#:1:j2_2(+(n6454382_2, 1)), gen_#:1:j2_2(0)) →RΩ(1)
+'(0(*'(gen_#:1:j2_2(n6454382_2), gen_#:1:j2_2(0))), gen_#:1:j2_2(0)) →IH
+'(0(gen_#:1:j2_2(0)), gen_#:1:j2_2(0)) →RΩ(1)
+'(#, gen_#:1:j2_2(0)) →RΩ(1)
gen_#:1:j2_2(0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(14) Complex Obligation (BEST)

(15) Obligation:

Innermost TRS:
Rules:
0(#) → #
+'(#, x) → x
+'(x, #) → x
+'(0(x), 0(y)) → 0(+'(x, y))
+'(0(x), 1(y)) → 1(+'(x, y))
+'(1(x), 0(y)) → 1(+'(x, y))
+'(0(x), j(y)) → j(+'(x, y))
+'(j(x), 0(y)) → j(+'(x, y))
+'(1(x), 1(y)) → j(+'(+'(x, y), 1(#)))
+'(j(x), j(y)) → 1(+'(+'(x, y), j(#)))
+'(1(x), j(y)) → 0(+'(x, y))
+'(j(x), 1(y)) → 0(+'(x, y))
+'(+'(x, y), z) → +'(x, +'(y, z))
opp(#) → #
opp(0(x)) → 0(opp(x))
opp(1(x)) → j(opp(x))
opp(j(x)) → 1(opp(x))
-(x, y) → +'(x, opp(y))
*'(#, x) → #
*'(0(x), y) → 0(*'(x, y))
*'(1(x), y) → +'(0(*'(x, y)), y)
*'(j(x), y) → -(0(*'(x, y)), y)
*'(*'(x, y), z) → *'(x, *'(y, z))

Types:
0 :: #:1:j → #:1:j
# :: #:1:j
+' :: #:1:j → #:1:j → #:1:j
1 :: #:1:j → #:1:j
j :: #:1:j → #:1:j
opp :: #:1:j → #:1:j
- :: #:1:j → #:1:j → #:1:j
*' :: #:1:j → #:1:j → #:1:j
hole_#:1:j1_2 :: #:1:j
gen_#:1:j2_2 :: Nat → #:1:j

Lemmas:
+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))) → *3_2, rt ∈ Ω(n42)
opp(gen_#:1:j2_2(+(1, n6451178_2))) → *3_2, rt ∈ Ω(n64511782)
*'(gen_#:1:j2_2(n6454382_2), gen_#:1:j2_2(0)) → gen_#:1:j2_2(0), rt ∈ Ω(1 + n64543822)

Generator Equations:
gen_#:1:j2_2(0) ⇔ #
gen_#:1:j2_2(+(x, 1)) ⇔ 1(gen_#:1:j2_2(x))

No more defined symbols left to analyse.

(16) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))) → *3_2, rt ∈ Ω(n42)

(17) BOUNDS(n^1, INF)

(18) Obligation:

Innermost TRS:
Rules:
0(#) → #
+'(#, x) → x
+'(x, #) → x
+'(0(x), 0(y)) → 0(+'(x, y))
+'(0(x), 1(y)) → 1(+'(x, y))
+'(1(x), 0(y)) → 1(+'(x, y))
+'(0(x), j(y)) → j(+'(x, y))
+'(j(x), 0(y)) → j(+'(x, y))
+'(1(x), 1(y)) → j(+'(+'(x, y), 1(#)))
+'(j(x), j(y)) → 1(+'(+'(x, y), j(#)))
+'(1(x), j(y)) → 0(+'(x, y))
+'(j(x), 1(y)) → 0(+'(x, y))
+'(+'(x, y), z) → +'(x, +'(y, z))
opp(#) → #
opp(0(x)) → 0(opp(x))
opp(1(x)) → j(opp(x))
opp(j(x)) → 1(opp(x))
-(x, y) → +'(x, opp(y))
*'(#, x) → #
*'(0(x), y) → 0(*'(x, y))
*'(1(x), y) → +'(0(*'(x, y)), y)
*'(j(x), y) → -(0(*'(x, y)), y)
*'(*'(x, y), z) → *'(x, *'(y, z))

Types:
0 :: #:1:j → #:1:j
# :: #:1:j
+' :: #:1:j → #:1:j → #:1:j
1 :: #:1:j → #:1:j
j :: #:1:j → #:1:j
opp :: #:1:j → #:1:j
- :: #:1:j → #:1:j → #:1:j
*' :: #:1:j → #:1:j → #:1:j
hole_#:1:j1_2 :: #:1:j
gen_#:1:j2_2 :: Nat → #:1:j

Lemmas:
+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))) → *3_2, rt ∈ Ω(n42)
opp(gen_#:1:j2_2(+(1, n6451178_2))) → *3_2, rt ∈ Ω(n64511782)
*'(gen_#:1:j2_2(n6454382_2), gen_#:1:j2_2(0)) → gen_#:1:j2_2(0), rt ∈ Ω(1 + n64543822)

Generator Equations:
gen_#:1:j2_2(0) ⇔ #
gen_#:1:j2_2(+(x, 1)) ⇔ 1(gen_#:1:j2_2(x))

No more defined symbols left to analyse.

(19) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))) → *3_2, rt ∈ Ω(n42)

(20) BOUNDS(n^1, INF)

(21) Obligation:

Innermost TRS:
Rules:
0(#) → #
+'(#, x) → x
+'(x, #) → x
+'(0(x), 0(y)) → 0(+'(x, y))
+'(0(x), 1(y)) → 1(+'(x, y))
+'(1(x), 0(y)) → 1(+'(x, y))
+'(0(x), j(y)) → j(+'(x, y))
+'(j(x), 0(y)) → j(+'(x, y))
+'(1(x), 1(y)) → j(+'(+'(x, y), 1(#)))
+'(j(x), j(y)) → 1(+'(+'(x, y), j(#)))
+'(1(x), j(y)) → 0(+'(x, y))
+'(j(x), 1(y)) → 0(+'(x, y))
+'(+'(x, y), z) → +'(x, +'(y, z))
opp(#) → #
opp(0(x)) → 0(opp(x))
opp(1(x)) → j(opp(x))
opp(j(x)) → 1(opp(x))
-(x, y) → +'(x, opp(y))
*'(#, x) → #
*'(0(x), y) → 0(*'(x, y))
*'(1(x), y) → +'(0(*'(x, y)), y)
*'(j(x), y) → -(0(*'(x, y)), y)
*'(*'(x, y), z) → *'(x, *'(y, z))

Types:
0 :: #:1:j → #:1:j
# :: #:1:j
+' :: #:1:j → #:1:j → #:1:j
1 :: #:1:j → #:1:j
j :: #:1:j → #:1:j
opp :: #:1:j → #:1:j
- :: #:1:j → #:1:j → #:1:j
*' :: #:1:j → #:1:j → #:1:j
hole_#:1:j1_2 :: #:1:j
gen_#:1:j2_2 :: Nat → #:1:j

Lemmas:
+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))) → *3_2, rt ∈ Ω(n42)
opp(gen_#:1:j2_2(+(1, n6451178_2))) → *3_2, rt ∈ Ω(n64511782)

Generator Equations:
gen_#:1:j2_2(0) ⇔ #
gen_#:1:j2_2(+(x, 1)) ⇔ 1(gen_#:1:j2_2(x))

No more defined symbols left to analyse.

(22) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))) → *3_2, rt ∈ Ω(n42)

(23) BOUNDS(n^1, INF)

(24) Obligation:

Innermost TRS:
Rules:
0(#) → #
+'(#, x) → x
+'(x, #) → x
+'(0(x), 0(y)) → 0(+'(x, y))
+'(0(x), 1(y)) → 1(+'(x, y))
+'(1(x), 0(y)) → 1(+'(x, y))
+'(0(x), j(y)) → j(+'(x, y))
+'(j(x), 0(y)) → j(+'(x, y))
+'(1(x), 1(y)) → j(+'(+'(x, y), 1(#)))
+'(j(x), j(y)) → 1(+'(+'(x, y), j(#)))
+'(1(x), j(y)) → 0(+'(x, y))
+'(j(x), 1(y)) → 0(+'(x, y))
+'(+'(x, y), z) → +'(x, +'(y, z))
opp(#) → #
opp(0(x)) → 0(opp(x))
opp(1(x)) → j(opp(x))
opp(j(x)) → 1(opp(x))
-(x, y) → +'(x, opp(y))
*'(#, x) → #
*'(0(x), y) → 0(*'(x, y))
*'(1(x), y) → +'(0(*'(x, y)), y)
*'(j(x), y) → -(0(*'(x, y)), y)
*'(*'(x, y), z) → *'(x, *'(y, z))

Types:
0 :: #:1:j → #:1:j
# :: #:1:j
+' :: #:1:j → #:1:j → #:1:j
1 :: #:1:j → #:1:j
j :: #:1:j → #:1:j
opp :: #:1:j → #:1:j
- :: #:1:j → #:1:j → #:1:j
*' :: #:1:j → #:1:j → #:1:j
hole_#:1:j1_2 :: #:1:j
gen_#:1:j2_2 :: Nat → #:1:j

Lemmas:
+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))) → *3_2, rt ∈ Ω(n42)

Generator Equations:
gen_#:1:j2_2(0) ⇔ #
gen_#:1:j2_2(+(x, 1)) ⇔ 1(gen_#:1:j2_2(x))

No more defined symbols left to analyse.

(25) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
+'(gen_#:1:j2_2(+(1, n4_2)), gen_#:1:j2_2(+(1, n4_2))) → *3_2, rt ∈ Ω(n42)

(26) BOUNDS(n^1, INF)